home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light ROM 1
/
LIGHT-ROM 1 (Amiga Library Services)(1994).iso
/
ffdisks
/
d875.lha
/
Blanker
/
Install
< prev
next >
Wrap
Text File
|
1993-05-24
|
3KB
|
133 lines
;
; Blanker Installation Script $VER:Blanker 2.0 (5.6.93)
;
(set @default-dest "SYS:WBStartup")
(set installBlanker 1)
(set installReqTools 1)
(delete
"ENVARC:Blanker.prefs"
force
)
(delete
"ENV:Blanker.prefs"
force
)
(if (> @user-level 1)
(set @default-dest
(askdir
(prompt "Where would you like Blanker installed?")
(help "The WBStartup directory on your boot disk is likely the best place to put blanker. "
"This will insure that Blanker is run automatically when you boot your computer."
)
(default @default-dest)
)
)
)
(set temp-dest @default-dest)
(working "Checking for previously installed version of Blanker.")
(if (<= (getversion (tackon (pathonly @icon) "Blanker")) (getversion (tackon @default-dest "Blanker")))
(if (askbool
(prompt "An equal or newer version of Blanker already installed. "
"Install anyway?"
)
(default 0)
(help "An equal or newer version of Blanker is already installed. "
"If you would like to install Blanker anyhow, click 'Yes'. "
"If you don't want to install Blanker, click 'No'."
)
)
(set installBlanker 1)
(set installBlanker 0)
)
)
(if (= 1 installBlanker )
(copyfiles
(prompt ("Copying Blanker to %s" @default-dest))
(help @copyfiles-help)
(source (pathonly @icon))
(dest @default-dest)
(choices "Blanker")
(infos)
)
(if (< @user-level 1)
(set temp @user-level)
(user 2)
(message "Not installing Blanker because an equal or newer version is already installed.")
(user temp)
)
)
(if (and (> @user-level 1) (= 1 installBlanker))
(set @default-dest
(askdir
(prompt "Where would you like the Blanker modules installed?")
(help "You can put the blankers anywhere and then specify the path to the blankers when"
"you click 'Load' in the Blanker main window."
)
(default @default-dest)
)
)
)
(if (= 1 installBlanker )
(copyfiles
(prompt ("Copying Blanker modules to %s" @default-dest))
(help @copyfiles-help)
(source (pathonly @icon))
(dest @default-dest)
(choices "Blankers")
(infos)
)
)
(working "Checking for previously installed version of ReqTools.")
(if (<= (getversion (tackon (pathonly @icon) "ReqTools/reqtools.library")) (getversion "LIBS:reqtools.library"))
(if (askbool
(prompt "An equal or newer version of ReqTools already installed. "
"Install anyway?"
)
(default 0)
(help "An equal or newer version of ReqTools is already installed. "
"If you would like to install ReqTools anyhow, click 'Yes'. "
"If you don't want to install ReqTools, click 'No'."
)
)
(set installReqTools 1)
(set installReqTools 0)
)
)
(if (= 1 installReqTools)
(copyfiles
(prompt "Copying ReqTools library to LIBS:")
(source (tackon (pathonly @icon) "ReqTools/reqtools.library"))
(dest "LIBS:")
)
(if (< @user-level 1)
(set temp @user-level)
(user 2)
(message "Not installing reqtools.library because an equal or newer version is already installed.")
(user temp)
)
)
(if (= 1 installReqTools)
(copyfiles
(prompt "Copying ReqTools preferences editor to SYS:Prefs")
(source (tackon (tackon (pathonly @icon) "ReqTools") "ReqTools"))
(dest "SYS:Prefs")
(infos)
)
)
(set @default-dest temp-dest)